<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
  <body>
   <form enctype="multipart/form-data" method = "post" action = "FileUploadServlet">
     <input type="text" name="userName" />
    <p>上传文件1:<input type = "file" name = "File1" size = "20" maxlength = "20"><br></p>
    <p>上传文件2:<input type = "file" name = "File2" size = "20" maxlength = "20"><br></p>
    <p>上传文件3:<input type = "file" name = "File3" size = "20" maxlength = "20"><br></p>
    <p>上传文件4:<input type = "file" name = "File4" size = "20" maxlength = "20"><br></p>
    <input type = "submit" value = "上传">
 </form>
   <form enctype="multipart/form-data" method = "post" action = "FileDownloadServlet">
    <input type = "submit" value = "下载">
 </form>
  </body>
</html>